/* GNU Mailutils -- a suite of utilities for electronic mail
   Copyright (C) 1999, 2000, 2001, 2005, 2007 Free Software Foundation, Inc.

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 3 of the License, or (at your option) any later version.

   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General
   Public License along with this library; if not, write to the
   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301 USA */

/**
 * \file constants.h
 * \author Ice and Magic
 * \date 20 Avril 2011
 * \brief Quelques constantes globales
 */

#ifndef	SMALLBRAIN_CONSTANTS_H
#define SMALLBRAIN_CONSTANTS_H


//! \brief Type de mes variables
//TODO: Tu connais les templates?
#define		__type		unsigned long long

//! \brief nombre de chiffres
//! Utile si l'on cherche à étendre le concept d'Armstrong pour d'autre bases que la base décimale.
#define		__DIGITS	10

//! \brief capacité décimale de __type en nombre de chiffres
//! see __DIGITS __TYPE
#define		__CAPACITY	20

//! \brief un max est toujour utile
#define		__MAX(a,b)	(a>b	?	a:b)

//! \brief tout autant pour un min
#define		__MIN(a,b)	(a<b	?	a:b)

#endif
